package com.yabushan.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yabushan.common.annotation.Excel;
import com.yabushan.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 模板主键对象 ymx_asin_template_info
 *
 * @author yabushan
 * @date 2021-04-14
 */
public class YmxAsinTemplateInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 模板表主键 */
    private String asinTemplateId;

    /** 模板名称 */
    @Excel(name = "模板名称")
    private String asinTemplateName;

    /** 模板ID */
    @Excel(name = "模板ID")
    private String templateId;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String orderName;

    /** 产品图片 */
    @Excel(name = "产品图片")
    private String orderImage;

    /** 折扣码 */
    @Excel(name = "折扣码")
    private String discountCode;

    /** 质保开始日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "质保开始日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date warrantyStartDate;

    /** 质保结束日期 */
    @Excel(name = "质保月份数")
    private Integer warrantyEndDate;

    /** ASIN */
    @Excel(name = "ASIN")
    private String asin;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createdBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    /** 创建时间 */
    @Excel(name = "创建时间")
    private String lastUpdatedBy;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lastUpdatedTime;

    /** ASIN */
    @Excel(name = "模板名称")
    private String templateName;





    public void setAsinTemplateId(String asinTemplateId)
    {
        this.asinTemplateId = asinTemplateId;
    }

    public String getAsinTemplateId()
    {
        return asinTemplateId;
    }
    public void setTemplateId(String templateId)
    {
        this.templateId = templateId;
    }

    public String getTemplateId()
    {
        return templateId;
    }
    public void setOrderName(String orderName)
    {
        this.orderName = orderName;
    }

    public String getOrderName()
    {
        return orderName;
    }
    public void setOrderImage(String orderImage)
    {
        this.orderImage = orderImage;
    }

    public String getOrderImage()
    {
        return orderImage;
    }
    public void setDiscountCode(String discountCode)
    {
        this.discountCode = discountCode;
    }

    public String getDiscountCode()
    {
        return discountCode;
    }
    public void setWarrantyStartDate(Date warrantyStartDate)
    {
        this.warrantyStartDate = warrantyStartDate;
    }

    public Date getWarrantyStartDate()
    {
        return warrantyStartDate;
    }

    public void setAsin(String asin)
    {
        this.asin = asin;
    }

    public String getAsin()
    {
        return asin;
    }
    public void setCreatedBy(String createdBy)
    {
        this.createdBy = createdBy;
    }

    public String getCreatedBy()
    {
        return createdBy;
    }
    public void setCreatedTime(Date createdTime)
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime()
    {
        return createdTime;
    }
    public void setLastUpdatedBy(String lastUpdatedBy)
    {
        this.lastUpdatedBy = lastUpdatedBy;
    }

    public String getLastUpdatedBy()
    {
        return lastUpdatedBy;
    }
    public void setLastUpdatedTime(Date lastUpdatedTime)
    {
        this.lastUpdatedTime = lastUpdatedTime;
    }

    public Date getLastUpdatedTime()
    {
        return lastUpdatedTime;
    }

    public String getAsinTemplateName() {
        return asinTemplateName;
    }

    public void setAsinTemplateName(String asinTemplateName) {
        this.asinTemplateName = asinTemplateName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("asinTemplateId", getAsinTemplateId())
            .append("asinTemplateName", getAsinTemplateName())
            .append("templateId", getTemplateId())
            .append("orderName", getOrderName())
            .append("orderImage", getOrderImage())
            .append("discountCode", getDiscountCode())
            .append("warrantyStartDate", getWarrantyStartDate())
            .append("warrantyEndDate", getWarrantyEndDate())
            .append("asin", getAsin())
            .append("createdBy", getCreatedBy())
            .append("createdTime", getCreatedTime())
            .append("lastUpdatedBy", getLastUpdatedBy())
            .append("lastUpdatedTime", getLastUpdatedTime())
            .toString();
    }

    public String getTemplateName() {
        return templateName;
    }

    public void setTemplateName(String templateName) {
        this.templateName = templateName;
    }

    public Integer getWarrantyEndDate() {
        return warrantyEndDate;
    }

    public void setWarrantyEndDate(Integer warrantyEndDate) {
        this.warrantyEndDate = warrantyEndDate;
    }
}
